home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / mm-1_07.lha / mm-1.07 / NOTES < prev    next >
Text File  |  1992-11-13  |  2KB  |  102 lines

  1. ######################################################################
  2.  
  3. Implementation notes. (Or how to make your own national mm)
  4.  
  5. Different commands:
  6.  
  7. COVER [arg]
  8. MT [arg [addressee]]
  9. The arg is part of a filename in mm/*.MT or mm/*.cov.
  10. This file is read when the macro is executed. Therefore it must be
  11. put before any text output.
  12. In each file there are definitions of all extra macros needed for the
  13. cover sheet. MT files is only for compatibility reasons, and has several
  14. limits due to that it don't know when the cover starts, and cannot
  15. change sizes. Use COVER for new coversheet macros.
  16.  
  17. But with MT it is possible to write all of the AT&T covers.
  18. An example can be found in mm/0.MT.
  19.  
  20. When writing a new cover using COVER, have in mind that the cover
  21. should print the page with the COVEND macro. This macro
  22. should be defined by the new macrofile.
  23.  
  24. Here is a part of ms.cov:
  25. > .\"-----------------
  26. > .de COVEND
  27. > .sp |4.2c
  28. > .cov@print-title
  29. > .cov@print-authors
  30. > .cov@print-firm
  31. > .cov@print-abstract
  32. > .cov@print-date
  33. This is important, since COVER disables the page header.
  34. > .pg@enable-top-trap
  35. Should begin with page one (normally).
  36. > .bp 1
  37. And enable the trap at the page footer.
  38. > .pg@enable-trap
  39. > ..
  40.  
  41. #########################
  42.  
  43. Variables for covers:
  44. I = integer
  45. S = string
  46. D = diversion
  47. M = macro
  48.  
  49. Name            Type    Desc.
  50. cov*au            I    The number of authors.
  51.  
  52. cov*title        M    Title collected with .TL.
  53.  
  54. cov*au!x!y        S    Author(s) given to .AU
  55. cov*at!x!y        S    Author(s) title given to .AT
  56.                 x is the author-index [1-cov*au],
  57.                 y is the argument-index [1-9].
  58.                 Look at the table with indexes.
  59.  
  60. cov*firm        I    Author(s) firm.
  61.  
  62. cov*abs-arg        I    Argument to abstract.
  63.  
  64. cov*abs-ind        I    Indent for abstract.
  65.  
  66. cov*abs-name        S    The string 'ABSTRACT', changed with .AST
  67.  
  68. cov*abstract        M    The abstract.
  69.  
  70. cov*new-date        S    The date (todays date if ND is not used)
  71.  
  72. cov*mt-type        S    MT type
  73. cov*mt-addresse     S    MT addressee
  74.  
  75.  
  76. ##########################
  77. Argument-index for cov*au:
  78.  
  79. Index        Desc.
  80. 1        name
  81. 2        initials
  82. 3        location
  83. 4        department
  84. 5        extension
  85. 6        room
  86. 7        arg 7
  87. 8        arg 8
  88. 9        arg 9
  89.  
  90. The location is set to the contents of string cov*location-xxxx
  91. if location is equal to xxxx and cov*location-xxxx is defined
  92. in the file locale.
  93.  
  94.  
  95. Argument-index for cov*at:
  96.  
  97. Index        Desc.
  98. 1        title 1
  99. .        .
  100. .        .
  101. 9        title 9
  102.